$OpenBSD: patch-include_msgpack_vrefbuffer_h,v 1.2 2017/06/13 17:30:18 jasper Exp $

From f2b788e51fc29f5b28bbbb183a2c18f650946d4c Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Sun, 11 Jun 2017 18:13:10 +0200
Subject: [PATCH] Sprinkle __OpenBSD__: include missing headers and prevent iovec redefinition

Index: include/msgpack/vrefbuffer.h
--- include/msgpack/vrefbuffer.h.orig
+++ include/msgpack/vrefbuffer.h
@@ -13,7 +13,7 @@
 #include "zone.h"
 #include <stdlib.h>
 
-#if defined(unix) || defined(__unix) || defined(__APPLE__)
+#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__)
 #include <sys/uio.h>
 #else
 struct iovec {
